<?php
	//设定页面编码格式
	header("content-type:text/html; charset=utf-8");
	
	function show_bug($msg){
		echo '<pre>';
		var_dump($msg);	
		echo '<pre>';
	}
	
	//定义css、img、js常量
	define("SITE_URL","http://ds.com/");
	define("CSS_URL",SITE_URL."Themes/SysAdmin/css/");      //css文件路径
	define("IMG_URL",SITE_URL."Themes/SysAdmin/images/");   //图片文件路径
	define("JS_URL",SITE_URL."Themes/SysAdmin/js/");        //JS文件路径
	define("EDIT_URL",SITE_URL."Themes/SysAdmin/editor/");        //JS文件路径
	
	//定义系统常量
	define('APP_PATH','./Application/');
	define('APP_DEBUG','true');
	define('BIND_MODULE','SysAdmin');
	
	//引入ThinkPHP的核心文件
	require "./ThinkPHP/ThinkPHP.php";
?>